var data = [
    //     {
    //     "title": "全部",
    //     "title链接": "https://ka.9game.cn/guild/novice_index_1.html",
    //     "picture": "",
    //     "text": "https://ka.9game.cn/guild/all_index_1.html",
    //     "text1": "新服礼包",
    //     "text22": "特权礼包",
    //     "text3": "激活码",

    //     "picture4": "",
    //     "text5": "",
    //     "picture6": "",
    //     "text7": "https://ka.9game.cn/guild/vip_index_1.html",
    //     "text8": "",
    //     "text9": "",
    //     "picture10": "",
    //     "last_链接": "",
    //     "last": ""
    // },
    {
        "title": "[帝王·三国]每周秒杀钻包1.31过期",
        "title链接": "https://ka.9game.cn/guild/2611739990279246625.html",
        "picture": "http://image.9game.cn/s/9game/g/2019/1/28/50068768.png",
        "text": "https://ka.9game.cn/guild/2611814306294185219.html",
        "text1": "[影之刃3]公会高级礼包",
        "text2": "类型:客户端网游",
        "text3": "领号",
        "picture4": "http://image.game.uc.cn/2016/4/1/12860805.png",
        "text5": "类型:客户端网游",
        "picture6": "http://image.game.uc.cn/2016/4/1/12860805.png",
        "text7": "https://ka.9game.cn/guild/2611739969218132936.html",
        "text8": "[帝王·三国]625区公会礼包",
        "text9": "类型:客户端网游",
        "picture10": "http://image.game.uc.cn/2016/4/1/12860805.png",
        "last_链接": "https://ka.9game.cn/guild/2611739939252372381.html",
        "last": "[帝王·三国]626区公会礼包"
    }, {
        "title": "[新三国争霸]“同心合胆”幸运礼包",
        "title链接": "https://ka.9game.cn/guild/2611730948274800519.html",
        "picture": "http://image.game.uc.cn/2015/4/9/10387390.png",
        "text": "https://ka.9game.cn/guild/2611730970294157171.html",
        "text1": "[新三国争霸]“同心合胆”公会会长礼包",
        "text2": "类型:客户端网游",
        "text3": "领号",
        "picture4": "http://image.game.uc.cn/2015/4/9/10387390.png",
        "text5": "类型:客户端网游",
        "picture6": "http://image.9game.cn/s/9game/g/2020/11/11/185898157.png",
        "text7": "https://ka.9game.cn/guild/2611660408294141780.html",
        "text8": "[放开那三国]930公会礼包",
        "text9": "类型:客户端&页面网游",
        "picture10": "http://image.9game.cn/s/9game/g/2019/1/28/50068768.png",
        "last_链接": "https://ka.9game.cn/guild/2611653785294790891.html",
        "last": "[影之刃3]公会礼包"
    }, {
        "title": "[影之刃3]公会活动礼包",
        "title链接": "https://ka.9game.cn/guild/2611650859218155010.html",
        "picture": "http://image.9game.cn/s/9game/g/2019/1/28/50068768.png",
        "text": "https://ka.9game.cn/guild/2611653596288254192.html",
        "text1": "[影之刃3]公会礼包",
        "text2": "类型:客户端网游",
        "text3": "领号",
        "picture4": "http://image.9game.cn/s/9game/g/2019/1/28/50068768.png",
        "text5": "类型:客户端网游",
        "picture6": "http://image.9game.cn/s/9game/g/2021/1/12/200827889.png",
        "text7": "https://ka.9game.cn/guild/2611563709294175440.html",
        "text8": "[盟重英雄]公会礼包",
        "text9": "类型:客户端网游",
        "picture10": "http://image.9game.cn/s/9game/g/2021/1/6/199006700.gif",
        "last_链接": "https://ka.9game.cn/guild/2611562204261637210.html",
        "last": "[三国志威力无双]公会豪华礼包"
    }, {
        "title": "[风暴魔域2]公会争霸礼包",
        "title链接": "https://ka.9game.cn/guild/2611418203261699879.html",
        "picture": "http://image.9game.cn/s/9game/g/2020/11/11/185898157.png",
        "text": "https://ka.9game.cn/guild/2611559623252395745.html",
        "text1": "[放开那三国]929公会礼包",
        "text2": "类型:客户端&页面网游",
        "text3": "领号",
        "picture4": "http://image.9game.cn/s/9game/g/2020/9/30/179071641.png",
        "text5": "类型:客户端网游",
        "picture6": "http://image.9game.cn/s/9game/g/2021/1/21/203880270.png",
        "text7": "https://ka.9game.cn/guild/2611312131294702811.html",
        "text8": "[创造与魔法]2月公会普发礼包",
        "text9": "类型:客户端网游",
        "picture10": "http://image.9game.cn/s/9game/g/2020/5/20/156805220.png",
        "last_链接": "https://ka.9game.cn/guild/2611310204261633602.html",
        "last": "[解神者]公会礼包"
    }, {
        "title": "[新射雕群侠传之铁血丹心]普发工会礼包",
        "title链接": "https://ka.9game.cn/guild/2611220205261664634.html",
        "picture": "http://image.9game.cn/s/9game/g/2020/11/19/186596328.png",
        "text": "https://ka.9game.cn/guild/2611310203261633600.html",
        "text1": "[航海王：燃烧意志]1月高价值公会礼包",
        "text2": "类型:客户端网游",
        "text3": "领号",
        "picture4": "http://image.9game.cn/s/9game/g/2021/1/15/201692444.png",
        "text5": "类型:客户端网游",
        "picture6": "http://image.9game.cn/s/9game/g/2020/12/8/187868623.png",
        "text7": "https://ka.9game.cn/guild/2611220205261664636.html",

        "text8": "[少年三国志2]1月普发公会礼包",
        "text9": "类型:客户端网游",
        "picture10": "http://image.9game.cn/s/9game/g/2020/12/30/196796388.png",
        "last_链接": "https://ka.9game.cn/guild/2611220205261664638.html",
        "last": "[少年三国志：零]1月公会高价值礼包"
    }
]
var str = '';
for (var i = 0; i < data.length; i++) {
    str += ` 
   <ul>  <li>
      <img src="${data[i].picture}" alt="">
    <p class="serc"><a href="">${data[i].title}   </a></p>
    <span>${data[i].text2}</span>
    <p class="aaa">领号</p>
</li>
<li> <img src="${data[i].picture4}" alt="">
    <p><a href="">${data[i].text1}</a></p>
    <span>${data[i].text5}</span>
    <p class="aaa">${data[i].text3}</p>
</li>
<li> <img src="${data[i].picture6}" alt="">
    <p><a href="">${data[i].text8}</a></p>
    <span>${data[i].text9}</span>
    <p class="aaa">${data[i].text3}</p>
</li>
<li> <img src="${data[i].picture10}" alt="">
    <p><a href="">${data[i].last}</a></p>
    <span>${data[i].text9}</span>
    <p class="aaa">${data[i].text3}</p>
</li></ul>`
}
var cleftcontent = document.querySelector('.cleftcontent');
cleftcontent.innerHTML = str;
var data2 = [{
        "num": "1",
        "text": "[新三国争霸]1月独家公会100黄金 ",
    }, {
        "num": "2",
        "text": "[新三国争霸]火烧藤甲 公会会长礼包",
    }, {
        "num": "3",
        "text": "[新三国争霸] 2 月独家公会银礼包",
    }, {
        "num": "4",
        "text": "[新三国争霸] 2 月独家公会幸运礼包",
    }, {
        "num": "5",
        "text": "[新三国争霸] 2 月独家公会300白银",
    }, {
        "num": "6",
        "text": "[新三国争霸] 477 区独家公会幸运礼包",
    }, {
        "num": "7",
        "text": "[新三国争霸]“ 火烧藤甲” 幸运礼包",
    }, {
        "num": "8",
        "text": "[新三国争霸] 478 区独家公会幸运礼包",
    }, {
        "num": "9",
        "text": "[新三国争霸] 478 区独家公会300白银",
    }, {
        "num": "10",
        "text": "[新三国争霸] 477 区独家公会300白银",
    }
]
var crightb=document.querySelector('.cright-bottom ul')
var str2='';
for ( var i=0;i<data2.length;i++){
    str2+=`
    <li>
    <span>${data2[i].num}</span>
    <a href="">${data2[i].text}</a>
    <i class="lingg"></i>
    
</li>
    
    `
}
crightb.innerHTML=str2;